<template>
  <div style="padding: 20px;">
    <h1>简单视频测试</h1>
    <VideoPlayerSimple
      src="https://www.w3schools.com/html/mov_bbb.mp4"
      :width="640"
      :height="360"
      :controls="true"
      @ready="onReady"
    />
  </div>
</template>

<script setup>
import VideoPlayerSimple from '@/components/VideoPlayerSimple.vue'

const onReady = (player) => {
  console.log('视频准备就绪:', player)
}
</script>